package com.chenxin.common.enums.wms;

public enum CommonStatus {
    USABLE(0, "可用"),
    UNUSABLE(1, "不可用"),
    INITIAL(0, "初始"),
    PROGRESS(1, "执行中"),
    COMPLETE(2, "完成"),
    CANCEL(4, "取消"),
    ERROR(9, "异常");
    private int code;
    private String info;

    CommonStatus(int code, String info) {
        this.code = code;
        this.info = info;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
}
